/****************************************************************************
**
** Copyright (C) 2009 by user *
** user@greenphonesdk *
**
** Contact: Qt Extended Information (info@qtextended.org)
**
** This file may be used under the terms of the GNU General Public License
** version 2.0 as published by the Free Software Foundation and appearing
** in the file LICENSE.GPL included in the packaging of this file.
**
** Please review the following information to ensure GNU General Public
** Licensing requirements will be met:
**     http://www.fsf.org/licensing/licenses/info/GPLv2.html.
**
****************************************************************************/

#ifndef NEOPHONEBOOKENTRY_H
#define NEOPHONEBOOKENTRY_H

#include <QString>
#include <QStringList>
#include <QDebug>

class NeoPhoneBookEntry
{
    public:
        NeoPhoneBookEntry();
        NeoPhoneBookEntry(QString name, QString number);
        QString getContactName();
        QString getPhoneNumber();
        QString getContactEmail();
        QString getPictureFilePath();
		QString getRingToneFilePath();
		QString getVibrationPatternFilePath();
		QString getLedPatternFilePath();		
		int getRingOption();
		int getRingOffset();
        void setContactName(QString name);
        void setPhoneNumber(QString number);
        void setContactEmail(QString email);
        void setPictureFilePath(QString path);
		void setRingToneFilePath(QString path);
		void setVibrationPatternFilePath(QString path);
		void setLedPatternFilePath(QString path);
		void setRingOption(int option);
		void setRingOffset(int offset);
        ~NeoPhoneBookEntry();
		QString toString();
		bool setPhoneBookEntry(QString entryStr);

    private:
        QString contactName;
        QString phoneNumber;
        QString contactEmail;
        QString pictureFilePath;
		QString ringToneFilePath;
		QString vibrationPatternFilePath;
		QString ledPatternFilePath;
		int ringOption;
		int ringOffset;
};

#endif

